package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_operator_report_field")
@ApiModel(value = "ErpOperatorReportField对象", description = "")
public class ErpOperatorReportField implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("关联报表信息")
    private Integer reportId;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("存储字段名称")
    private String fieldName;

    @ApiModelProperty("数据类型 1-数字 2-文本")
    private Integer dataType;

    @ApiModelProperty("录入方式 1-人工录入 2-系统计算")
    private Integer enterType;

    @ApiModelProperty("控件类型 1-文本框 2-数字框 3-文本域")
    private Integer inputType;

    @ApiModelProperty("字段区域（对应报表字段区域）")
    private Integer fieldArea;

    @ApiModelProperty("是否唯一判断")
    private Integer isOnly;

    @ApiModelProperty("是否必填 1-必填 0-选填")
    private Integer isRequired;

    @ApiModelProperty("表格宽度 0表示自适应，其它数字表示指定像素")
    private Integer tableWidth;

    @ApiModelProperty("控件描述（放在输入框下）")
    private String inputDesc;

    @ApiModelProperty("系统计算公式")
    private String sysFormula;

    @ApiModelProperty("排序号")
    private Integer sort;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
